package com.sky.service.user.impl;

import com.sky.mapper.user.MerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantServiceImpl implements MerchantService {

    @Autowired
    private MerchantMapper merchantMapper;


    /**
     * 查询商家信息
     *
     * @param id
     * @return
     */
    @Override
    public Merchant getShopById(Long id) {


        return merchantMapper.selectMarchant(id);
    }
}
